//
//  UIScrollView+Extension.m
//  BaseProject
//
//  Created by itzhaolei on 2024/7/13.
//

#import "UIScrollView+Extension.h"

@implementation UIScrollView(Extension)

/// 清理版本差异化
- (void)clear {
    self.showsVerticalScrollIndicator = NO;
    
    //ios11 适配
    if (@available(iOS 11.0, *)) {
        self.contentInsetAdjustmentBehavior = UIScrollViewContentInsetAdjustmentNever;
        self.scrollIndicatorInsets = self.contentInset;
    }
}

@end

